package com.linb.pan.swagger;

import com.linb.pan.core.constants.BPanConstants;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "swagger2")
public class Swagger2ConfigProperties {

    private boolean show = true;

    private String groupName = "b-pan";

    private String basePackage = BPanConstants.BASE_COMPONENT_SCAN_PATH;

    private String title = "b-pan-server";

    private String description = "b-pan-server";

    private String termsOfServiceUrl = "http://127.0.0.1:${server.port}";

    private String contactName = "linchaoen";

    private String contactUrl = "https://baidu.com";

    private String contactEmail = "2578386223@qq.com";

    private String version = "1.0";

}
